<?php
class Breadcrumb extends Controller
{
    
    function Breadcrumb(){

        parent::Controller();

    }
                                                      
    public function view($breadcrumbs = array()) {

        $data['breadcrumbs'][0] = array('display' => 'home page', 'controller' => 'about', 'title' => 'About '.INSTANCE_NAME);
        
        foreach($breadcrumbs as $crumb) {
            $data['breadcrumbs'][] = $crumb;    
        }

        $this->load->view("breadcrumb", $data);       

    }

}
?>
